﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.Infrastructure.Common;

namespace Zocono.Infrastructure.Common
{
    /// <summary>
    /// 领域层业务异常
    /// </summary>
    public class DomainException : Exception
    {
        public DomainException(string msg, ILogUtil logUtil,string source) : base(msg)
        {
            logUtil.Info($"领域逻辑异常信息:[{source}],{msg}");
        }
    }
}
